<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>hdcp22_tx: xhdcp22_tx_crypt.c File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="HTML_custom.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="xlogo_bg.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">hdcp22_tx
   </div>
   <div id="projectbrief">Vitis Drivers API Documentation</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Overview</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="globals.html"><span>APIs</span></a></li>
      <li><a href="files.html"><span>File&#160;List</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('xhdcp22__tx__crypt_8c.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#define-members">Macros</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">xhdcp22_tx_crypt.c File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:ga7a717834c039b332d4b7d67c5e3edd24"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__tx.html#ga7a717834c039b332d4b7d67c5e3edd24">BD_MAX_MOD_SIZE</a>&#160;&#160;&#160;(384/sizeof(u32))</td></tr>
<tr class="memdesc:ga7a717834c039b332d4b7d67c5e3edd24"><td class="mdescLeft">&#160;</td><td class="mdescRight">Size RSA encryption parameters to support 384 byte maximum modulus size.  <a href="group__hdcp22__tx.html#ga7a717834c039b332d4b7d67c5e3edd24">More...</a><br/></td></tr>
<tr class="separator:ga7a717834c039b332d4b7d67c5e3edd24"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga172503f210cc3f3d731ee899dca90cd9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__tx.html#ga172503f210cc3f3d731ee899dca90cd9">XHdcp22Tx_GenerateRandom</a> (<a class="el" href="struct_x_hdcp22___tx.html">XHdcp22_Tx</a> *InstancePtr, int NumOctets, u8 *RandomNumberPtr)</td></tr>
<tr class="memdesc:ga172503f210cc3f3d731ee899dca90cd9"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function generates random octets.  <a href="group__hdcp22__tx.html#ga172503f210cc3f3d731ee899dca90cd9">More...</a><br/></td></tr>
<tr class="separator:ga172503f210cc3f3d731ee899dca90cd9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab6f0ccef5894587b65989682bf443bf6"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__tx.html#gab6f0ccef5894587b65989682bf443bf6">XHdcp22Tx_VerifyCertificate</a> (const <a class="el" href="struct_x_hdcp22___tx___cert_rx.html">XHdcp22_Tx_CertRx</a> *CertificatePtr, const u8 *KpubDcpNPtr, int KpubDcpNSize, const u8 *KpubDcpEPtr, int KpubDcpESize)</td></tr>
<tr class="memdesc:gab6f0ccef5894587b65989682bf443bf6"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function verifies the HDCP receivers certificate.  <a href="group__hdcp22__tx.html#gab6f0ccef5894587b65989682bf443bf6">More...</a><br/></td></tr>
<tr class="separator:gab6f0ccef5894587b65989682bf443bf6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8102aaabfbedcd63e8ab869709dfe334"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__tx.html#ga8102aaabfbedcd63e8ab869709dfe334">XHdcp22Tx_VerifySRM</a> (const u8 *SrmPtr, int SrmSize, const u8 *KpubDcpNPtr, int KpubDcpNSize, const u8 *KpubDcpEPtr, int KpubDcpESize)</td></tr>
<tr class="memdesc:ga8102aaabfbedcd63e8ab869709dfe334"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function verifies a HDCP2 system renewability message (SRM) block.  <a href="group__hdcp22__tx.html#ga8102aaabfbedcd63e8ab869709dfe334">More...</a><br/></td></tr>
<tr class="separator:ga8102aaabfbedcd63e8ab869709dfe334"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga85fbd02cdb937e97dbf03ff5f704f667"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__tx.html#ga85fbd02cdb937e97dbf03ff5f704f667">XHdcp22Tx_ComputeHPrime</a> (const u8 *Rrx, const u8 *RxCaps, const u8 *Rtx, const u8 *TxCaps, const u8 *Km, u8 *HPrime)</td></tr>
<tr class="memdesc:ga85fbd02cdb937e97dbf03ff5f704f667"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function computes HPrime.  <a href="group__hdcp22__tx.html#ga85fbd02cdb937e97dbf03ff5f704f667">More...</a><br/></td></tr>
<tr class="separator:ga85fbd02cdb937e97dbf03ff5f704f667"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gadec8c25632b395b2382e1503e8c79b2b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__tx.html#gadec8c25632b395b2382e1503e8c79b2b">XHdcp22Tx_ComputeEdkeyKs</a> (const u8 *Rn, const u8 *Km, const u8 *Ks, const u8 *Rrx, const u8 *Rtx, u8 *EdkeyKs)</td></tr>
<tr class="memdesc:gadec8c25632b395b2382e1503e8c79b2b"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function computes EdkeyKs.  <a href="group__hdcp22__tx.html#gadec8c25632b395b2382e1503e8c79b2b">More...</a><br/></td></tr>
<tr class="separator:gadec8c25632b395b2382e1503e8c79b2b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga62fcf5c75a92762ee2fb4b1c622b9e49"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__tx.html#ga62fcf5c75a92762ee2fb4b1c622b9e49">XHdcp22Tx_ComputeLPrime</a> (const u8 *Rn, const u8 *Km, const u8 *Rrx, const u8 *Rtx, u8 *LPrime)</td></tr>
<tr class="memdesc:ga62fcf5c75a92762ee2fb4b1c622b9e49"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function computes LPrime.  <a href="group__hdcp22__tx.html#ga62fcf5c75a92762ee2fb4b1c622b9e49">More...</a><br/></td></tr>
<tr class="separator:ga62fcf5c75a92762ee2fb4b1c622b9e49"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga645b2b98b755b1402cdcdc99451fa7ff"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__tx.html#ga645b2b98b755b1402cdcdc99451fa7ff">XHdcp22Tx_ComputeV</a> (const u8 *Rn, const u8 *Rrx, const u8 *RxInfo, const u8 *Rtx, const u8 *RecvIDList, const u8 RecvIDCount, const u8 *SeqNum_V, const u8 *Km, u8 *V)</td></tr>
<tr class="memdesc:ga645b2b98b755b1402cdcdc99451fa7ff"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function computes V.  <a href="group__hdcp22__tx.html#ga645b2b98b755b1402cdcdc99451fa7ff">More...</a><br/></td></tr>
<tr class="separator:ga645b2b98b755b1402cdcdc99451fa7ff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad07fe56bcdd42bd5d1825f75af460786"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__tx.html#gad07fe56bcdd42bd5d1825f75af460786">XHdcp22Tx_ComputeM</a> (const u8 *Rn, const u8 *Rrx, const u8 *Rtx, const u8 *StreamIDType, const u8 *k, const u8 *SeqNum_M, const u8 *Km, u8 *M)</td></tr>
<tr class="memdesc:gad07fe56bcdd42bd5d1825f75af460786"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function computes M.  <a href="group__hdcp22__tx.html#gad07fe56bcdd42bd5d1825f75af460786">More...</a><br/></td></tr>
<tr class="separator:gad07fe56bcdd42bd5d1825f75af460786"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga72688f3315910efdda36a2fe5795df7f"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__tx.html#ga72688f3315910efdda36a2fe5795df7f">XHdcp22Tx_EncryptKm</a> (const <a class="el" href="struct_x_hdcp22___tx___cert_rx.html">XHdcp22_Tx_CertRx</a> *CertificatePtr, const u8 *KmPtr, u8 *MaskingSeedPtr, u8 *EncryptedKmPtr)</td></tr>
<tr class="memdesc:ga72688f3315910efdda36a2fe5795df7f"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function encrypts the Km value with the receivers public key into Ekh(Km)  <a href="group__hdcp22__tx.html#ga72688f3315910efdda36a2fe5795df7f">More...</a><br/></td></tr>
<tr class="separator:ga72688f3315910efdda36a2fe5795df7f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gada532a9fbcf4f92d5b987c9e0ea853ab"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__tx.html#gada532a9fbcf4f92d5b987c9e0ea853ab">XHdcp22Tx_MemXor</a> (u8 *Output, const u8 *InputA, const u8 *InputB, unsigned int Size)</td></tr>
<tr class="memdesc:gada532a9fbcf4f92d5b987c9e0ea853ab"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function calculates a XOR on a array.  <a href="group__hdcp22__tx.html#gada532a9fbcf4f92d5b987c9e0ea853ab">More...</a><br/></td></tr>
<tr class="separator:gada532a9fbcf4f92d5b987c9e0ea853ab"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
	<p class="footer">&copy; Copyright 2015-2022 Xilinx, Inc. All Rights Reserved.</p>
	<p class="footer">&copy; Copyright 2022-2023 Advanced Micro Devices, Inc. All Rights Reserved.</p>
</div>
</body>
</html>
